package org.jeecg.modules.approve.charge.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 余额退款审批信息
 * @Author: jeecg-boot
 * @Date:   2021-11-05
 * @Version: V1.0
 */
@Data
@TableName("bike_approve_charge")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_approve_charge对象", description="余额退款审批信息")
public class BikeApproveCharge implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 会员记录id
     */
    @ApiModelProperty(value = "会员记录id")
    private String chargeId;

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人")
    private String createBy;
    /**
     * 申请时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
    private java.util.Date createTime;
    /**
     * 申请金额
     */
    @Excel(name = "申请金额", width = 15)
    @ApiModelProperty(value = "申请金额")
    private java.math.BigDecimal freeAmount;
    /**
     * 退款原因
     */
    @Excel(name = "退款原因", width = 15)
    @ApiModelProperty(value = "退款原因")
    private String applyCause;

    /**
     * 审批状态(0未审批1通过2驳回)
     */
    @Excel(name = "审批状态", width = 15)
    @ApiModelProperty(value = "审批状态(0未审批1通过2驳回)")
    @Dict(dicCode = "approve_status")
    private String approveStatus;
    /**
     * 审批人
     */
    @Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private String handleBy;
    /**
     * 审批时间
     */
    @Excel(name = "审批时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审批时间")
    private java.util.Date handleTime;
    /**
     * 审批理由
     */
    @Excel(name = "审批理由", width = 15)
    @ApiModelProperty(value = "审批理由")
    private String handleCause;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String memo;


    @ApiModelProperty(value = "审批是否通过 1是 0 否")
    @TableField(exist = false)
    private String approveYN ;
}
